<h2 class="sub-header">新增联系人</h2>
<form (submit)="submitHandle()">
  <div class="form-group">
    <label for="userName">姓名</label>
    <input
      type="text"
      class="form-control"
      id="userName"
      name="name"
      placeholder="请输入用户姓名"
      [(ngModel)]="formData.name"
    >
  </div>
  <div class="form-group">
    <label for="email">邮箱</label>
    <input
      type="email"
      class="form-control"
      id="email"
      name="email"
      placeholder="请输入邮箱"
      [(ngModel)]="formData.email"
    >
  </div>
  <div class="form-group">
    <label for="phone">电话</label>
    <input
      type="text"
      class="form-control"
      id="phone"
      name="phone"
      placeholder="请输入联系电话"
      [(ngModel)]="formData.phone"
    >
  </div>
  <button type="submit" class="btn btn-info">创建</button>
</form>
